<?php
namespace app\index\model;
use think\Model;
class published_seismic_database extends Model{
    protected function initialize(){
        parent::initialize();
    }

    public function updateEqtInfo(){
        $this->update(['NEWEST'=>0]);
        // $sql="UPDATE eqtinformationnew SET NEWEST = 0 ";
        // $this->db->query($sql);
    }

    public function eqtinferInfo($params){
        return $this->insert($params);
    }
    
}